package com.glodon.paas.account.dao.domain;

import com.google.code.morphia.annotations.Entity;
import com.google.code.morphia.annotations.Id;

@Entity(value = "company", noClassnameStored = true)
public class CompanyEntity{

	@Id
	private String id;
	private String userId;
	private String company;
	private String position;
	private String jobCategory;
	private String industry;
	private String addressId;

	
	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public String getJobCategory() {
		return jobCategory;
	}

	public void setJobCategory(String jobCategory) {
		this.jobCategory = jobCategory;
	}

	public String getIndustry() {
		return industry;
	}

	public void setIndustry(String industry) {
		this.industry = industry;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getAddressId() {
		return addressId;
	}

	public void setAddressId(String addressId) {
		this.addressId = addressId;
	}
	
//	public CompanyEntity translate() {
//		CompanyEntity comp = new CompanyEntity();
//		comp.address = this.address.translate();
//		comp.company = this.company;
//		comp.industry = this.industry;
//		comp.jobCategory = UserInfoMappingUtil.getValue(this.jobCategory);
//		comp.position = this.position;
//		return comp;
//	}

}
